Robotech - Crystal Dreams

10/22/2005 by UNKNOWNFILE
added track 0x51 12/03/2005

dapete10@sympatico.ca (or UNKNOWNFILE on irc.quakenet.org)

TODOS:

-euthanise the big cpu loops that slow down the game.
-rerip tracks with missing data

THIS WAS HELL! The PJ64 Interpreter CPU *HATES* this game. As such, it crashed frequently in pj64usf.
Now all that's left to do is get rid of this cpu loop.

Since these were ripped using little timeout limits, some data might be missing from songs.
Please let me know which ones screw up and I'll rerip them when I can.

To developers, I give thee my notes.

using ROM Robotech - Crystal Dreams (Beta).z64

Insert into Interpreter CPU.c:

int c;
if (PROGRAM_COUNTER==0x80055A94) {
	for (c=0x4B08; c < 0x4B98; c+=4) ((DWORD*)N64MEM)[c/4]=0; //kill main gamestuff
	for (c=0x4A60; c < 0x4AAC; c+=4) ((DWORD*)N64MEM)[c/4]=0; //kill morestuff
    //for (c=0x2B9F8; c < 0x2BA5C; c+=4) ((DWORD*)N64MEM)[c/4]=0; //gives us a addresserror and crash
	//DisplayError("v0=%08x v1=%08x a0=%08x a1=%08x a2=%08x",GPR[2].UW[0],GPR[3].UW[0],GPR[4].UW[0],GPR[5].UW[0],GPR[6].UW[0]);
	//DisplayError("alSeqpSetSeq, ra=%08x",GPR[31].UW[0]);
	GPR[4].UW[0]=0x02;
	sprintf(SaveAsFileName,"robofuckedup");
	Machine_SaveState();
}

Batch ripping settings:
(please use a batchripper that uses a0 instead of a song value offset.)
Trace from: 80055A9C

Song range 0x01 to 0x66

The timeout should be from 300 to 500 in later tracks.

Check "Do reset on new data read" or I'll cut off your manhood and throw it in a vacant lot.

PS: Anyone from nintendo have a beta of Kirby's Air Ride? If so, then a USF might be made of your
    cart...